﻿
<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2006" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" x:Class="BankTeller.BankTellerModule.CustomerDetailView"
    Height="Auto" Width="Auto">
	<UserControl.Resources>
		<ResourceDictionary>
			<ResourceDictionary.MergedDictionaries>
				<ResourceDictionary Source="..\..\BankTellerStyles.xaml"/>
			</ResourceDictionary.MergedDictionaries>
		</ResourceDictionary>
	</UserControl.Resources>
    <Grid>
        <Grid.RowDefinitions>
			<RowDefinition/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition />
        </Grid.ColumnDefinitions>

<Border Style="{DynamicResource BorderStyle}" x:Name="DetailsBodyBorder" BorderThickness="1,0,1,1" CornerRadius="10,10,10,10" Margin="0,0,0,1" Background="{DynamicResource SolidBrush}">
	<Path Fill="#FFFFFFFF" Stretch="Fill" Stroke="{DynamicResource DefaultedBorderBrush}" HorizontalAlignment="Stretch" Margin="0,35,0,0" VerticalAlignment="Top" Height="1" Data="M7,34 L390,34"/>
</Border>


		<Button HorizontalAlignment="Left" Margin="7,3,0,0" Name="btnComment" Click="OnShowComments" VerticalAlignment="Top" Content="Comments" Visibility="Visible" ClickMode="Release"  BorderThickness="1,0,0,0"/>
		<Label Height="22.277" HorizontalAlignment="Left" Margin="3.37,50,0,0" Name="label1" VerticalAlignment="Top" Width="71.63" Content="First Name:"/>
		<Label Margin="218,50,0,0" VerticalAlignment="Top" Content="Last Name:" Width="70" HorizontalAlignment="Left" />
		<TextBox Height="20" HorizontalAlignment="Stretch" Margin="289,52,18,0" Name="txtLastName" VerticalAlignment="Top" Width="Auto" Text="{Binding Path=LastName}"/>
		<TextBox Height="20" HorizontalAlignment="Left" Margin="71,52,0,0" VerticalAlignment="Top" Width="146"  Name="txtFirstName" Text="{Binding Path=FirstName}"/>
		<Label Height="22.277" HorizontalAlignment="Left" Margin="10,79,0,0" VerticalAlignment="Top" Width="55.63" Content="Address:"/>
		<TextBox Height="20" Margin="71,81,18,0" Name="txtAddress1" VerticalAlignment="Top" Text="{Binding Path=Address1}"/>
		<TextBox Height="20" Margin="71,103,18,0" VerticalAlignment="Top"  Name="txtAddress2" Text="{Binding Path=Address2}"/>
		<Label Margin="32,117,0,0" Content="City:" HorizontalAlignment="Left" d:LayoutOverrides="Height" VerticalAlignment="Top"/>
		<TextBox Margin="71,125,0,0" Name="txtCity" HorizontalAlignment="Left" Width="139" Text="{Binding Path=City}" RenderTransformOrigin="0.482,0.501" VerticalAlignment="Top"/>
		<Label Margin="210,119,0,0" Name="label2" Content="State:" HorizontalAlignment="Left" VerticalAlignment="Top"/>
		<TextBox Margin="250,125,0,0" Name="txtState" Text="{Binding Path=State}" Height="20" HorizontalAlignment="Left" VerticalAlignment="Top" Width="72"/>
		<Label Margin="322,119,0,0" Name="label3"  Content="Zip:"  HorizontalAlignment="Left" VerticalAlignment="Top" Width="Auto"  />
		<TextBox Margin="356,125,18,0" Name="txtZip" Text="{Binding Path=ZipCode}" Height="20" VerticalAlignment="Top" HorizontalAlignment="Stretch" Width="Auto"/>
		<Label Height="Auto" Margin="0,148,5,0" x:Name="label4"  FontWeight="Bold" Content="Contact" FontSize="18" Background="#00FFFFFF" d:LayoutOverrides="Height" VerticalAlignment="Top"/>
		<Label Height="23.277" HorizontalAlignment="Left" Margin="9.37,178,0,0" Name="label5" VerticalAlignment="Top" Width="56.26" Content="Phone 1:"/>
		<TextBox Height="20" HorizontalAlignment="Left" Name="txtPhone1" VerticalAlignment="Top" Width="141" Text="{Binding Path=Phone1}" Margin="70,180,0,0"/>
		<Label Height="23.277" Margin="218,178,0,0" Name="label6" VerticalAlignment="Top" HorizontalAlignment="Left" Content="Phone 2:"/>
		<TextBox Height="20" Margin="274,182,22,0" Name="txtPhone2" VerticalAlignment="Top" HorizontalAlignment="Stretch" Width="Auto" Text="{Binding Path=Phone2}"/>
		<Label Height="23.277" HorizontalAlignment="Left" Margin="11.37,207,0,0" Name="label7" VerticalAlignment="Top" Width="40.63" Content="Email:"/>
		<TextBox Margin="71,211,21,0" Name="txtEmail" Text="{Binding Path=EmailAddress}" VerticalAlignment="Top" Height="20"/>
	</Grid>

</UserControl>

